package com.ws.repository;

import com.github.pagehelper.Page;
import com.ws.entity.BorrowingRecord;
import org.apache.ibatis.annotations.Param;

public interface BorrowingRecordRepository {
   Page<BorrowingRecord> getBorrowingRecordPage(BorrowingRecord borrowingRecord);

    void saveBorrowingRecord(BorrowingRecord borrowingRecord);

    BorrowingRecord getBorrowingRecordBasicInfo(@Param("borrowingRecordId")Long borrowingRecordId);

    void delBorrowingRecord(@Param("borrowingRecordId")Long borrowingRecordId);

    void updateBorrowingRecord(BorrowingRecord borrowingRecord);
}